package com.ruoyi.system.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.ProvideAllRecords;
import org.apache.ibatis.annotations.Param;

/**
 * 供应商付款Service接口
 * 
 * @author ruoyi
 * @date 2024-05-08
 */
public interface IProvideAllRecordsService 
{
    /**
     * 查询供应商付款
     * 
     * @param id 供应商付款主键
     * @return 供应商付款
     */
    public ProvideAllRecords selectProvideAllRecordsById(Long id);

    /**
     * 查询供应商付款列表
     * 
     * @param provideAllRecords 供应商付款
     * @return 供应商付款集合
     */
    public List<ProvideAllRecords> selectProvideAllRecordsList(ProvideAllRecords provideAllRecords);

    /**
     * 新增供应商付款
     * 
     * @param provideAllRecords 供应商付款
     * @return 结果
     */
    public int insertProvideAllRecords(ProvideAllRecords provideAllRecords);

    /**
     * 修改供应商付款
     * 
     * @param provideAllRecords 供应商付款
     * @return 结果
     */
    public int updateProvideAllRecords(ProvideAllRecords provideAllRecords);

    /**
     * 批量删除供应商付款
     * 
     * @param ids 需要删除的供应商付款主键集合
     * @return 结果
     */
    public int deleteProvideAllRecordsByIds(Long[] ids);

    /**
     * 删除供应商付款信息
     * 
     * @param id 供应商付款主键
     * @return 结果
     */
    public int deleteProvideAllRecordsById(Long id);

    public List<Map<String,Object>> selectAllRecords(String time);

    public Double selectSumMoney(@Param("provide")String provide, @Param("financeCode")String financeCode, @Param("createTime")String createTime, @Param("status")String status);

    public Integer deleteUpload(@Param("time")String time);

    public int insertBatch(List<ProvideAllRecords> provideAllRecords);

    public Double selectProviderMoney(String provider, String createTime);


}
